package com.ws.mymedia.backend;

import com.ws.mymedia.backend.listeners.MusicListener;

import android.content.Context;

public class MediaProvider {
	
	private static MediaProvider INSTANCE = new MediaProvider();
	private Context context;
	
	public void init(Context contex) {
		if (this.context == null) {
			this.context = contex;
		} else {
			throw new IllegalStateException("Cannot be initialized twice!");
		}
	}
	
	public static MediaProvider getInstance() {
		return INSTANCE;
	}
	
	public void loadMusic(MusicListener listener) {
		
	}
	
}
